package java44th.group.service.admin.keyword;

import java44th.group.bean.common.BasePageInfo;
import java44th.group.bean.common.CommonData;
import java44th.group.bean.po.MarketKeyword;
import java44th.group.bean.admin.vo.keyword.CreateKeywordVo;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 小焦
 * @since 2022/10/13 00:30
 */

@Transactional
public interface KeywordService {
    CommonData<MarketKeyword> list(BasePageInfo info, String keyword, String url);

    CreateKeywordVo create(MarketKeyword marketKeyword);

    int delete(MarketKeyword keyword);

    int update(MarketKeyword keyword);
}
